package com.hh.hibernate.util.base;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@MappedSuperclass
public class BaseTwoEntity extends BaseOneEntity{
	protected Date dcreate;
	protected String vcreate;
	protected String vupdate;
	protected String vorgid;
	protected String order;

	@Column(name = "VCREATE", length = 36, updatable = false)
	public String getVcreate() {
		return this.vcreate;
	}

	public void setVcreate(String vcreate) {
		this.vcreate = vcreate;
	}

	@Column(name = "VUPDATE", length = 36)
	public String getVupdate() {
		return this.vupdate;
	}

	public void setVupdate(String vupdate) {
		this.vupdate = vupdate;
	}

	@Column(name = "VORGID", length = 36)
	public String getVorgid() {
		return vorgid;
	}

	public void setVorgid(String vorgid) {
		this.vorgid = vorgid;
	}
	@Column(name = "ORDER_", length = 64, updatable = false)
	public String getOrder() {
		return order;
	}
	public void setOrder(String order) {
		this.order = order;
	}
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DCREATE", length = 7,updatable=false)
	public Date getDcreate() {
		return dcreate;
	}

	public void setDcreate(Date dcreate) {
		this.dcreate = dcreate;
	}

	
}
